POST
/
v1
/
image2video
/
dop
Generate [DoP]
curl --request POST \
  --url https://platform.higgsfield.ai/v1/image2video/dop \
  --header 'Content-Type: application/json' \
  --header 'hf-api-key: <hf-api-key>' \
  --header 'hf-secret: <hf-secret>' \
  --data '{
  "webhook": {
    "url": "<string>",
    "secret": "<string>"
  },
  "params": {
    "model": "dop-turbo",
    "prompt": "<string>",
    "seed": 500000,
    "motions": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "strength": 0.5
      }
    ],
    "input_images": [
      {
        "type": "<string>",
        "image_url": "<string>"
      }
    ],
    "input_images_end": [
      {
        "type": "<string>",
        "image_url": "<string>"
      }
    ],
    "enhance_prompt": true
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "text2image_soul",
  "created_at": "2023-11-07T05:31:56Z",
  "jobs": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "job_set_type": "image2video",
      "status": "queued",
      "results": {
        "min": {
          "type": "<string>",
          "url": "<string>"
        },
        "raw": {
          "type": "<string>",
          "url": "<string>"
        }
      }
    }
  ],
  "input_params": {}
}

Headers

hf-api-key
string<uuid>
required
hf-secret
string
required

Body

application/json
params
object
required
webhook
object | null

Response

Successful Response

id
string<uuid>
required
type
enum<string>
required
Available options:
text2image_soul,
image2video
created_at
string<date-time>
required
jobs
Job · object[]
required
input_params
object
required